package zjc.练习.初步练习;

public class 测试 {
    public static void main(String[] args) {
        Student s=new Student();
        s.setName("工贸彭于晏");
        System.out.println(s.getName());
        s.setGander('女');
        System.out.println(s.getGander());
        System.out.println("-------------------");
        Student s2=s;
        s2.setName("工贸胡歌");
        System.out.println(s.getName());
        s2.setGander('男');
        System.out.println(s.getGander());
    }
}
